import java.text.DateFormat;
import java.util.Calendar;
import java.util.Date;

public class Random {

	public static void main(String[] args) {
		int first = 4;
		int second = 5;
		int counter = 1;
		while (counter <= 3) {
			int res = first * second;
			System.out.print(res + " ");
			first = second;
			second = res;
			counter++;
		}
	}
}
